]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-gtk-embed: Remove old hack workaround for a mutter bug
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 26 Nov 2014 20:52:48 +0000 (12:52 -0800)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 26 Nov 2014 20:54:37 +0000 (12:54 -0800)
The window actor shouldn't have been picked since it has an empty
input shape, but bugs in mutter weren't properly interpreting that.

Since the Wayland restructure, the MetaWindowActor isn't actually
reactive anymore, it's the MetaSurfaceActorX11, so this code isn't
doing anything.

src/shell-gtk-embed.c

index dddb465597979add62ae73e3e235018ed40a9b04..bfff044ffcf36c340ba38c55789f1419bf3dd783 100644 (file)
@@ -106,9 +106,6 @@ shell_gtk_embed_window_created_cb (MetaDisplay   *display,
                                              0, 0 /* offset x/y */);
       cairo_region_destroy (empty_region);
 
-      /* Set the actor as unreative so Clutter doesn't pick it, either */
-      clutter_actor_set_reactive (window_actor, FALSE);
-
       gdk_window_lower (gdk_window);
 
       /* Now that we've found the window we don't need to listen for